package xml;

public class Comics {

	private static final int DEFAULT_SIZE = 10;
	private String name;
	Cartoon [] cartoons;
	
	Comics (String name) {
		if (!name.equals("") && name != null) {
			 this.name = name;
			 cartoons = new Cartoon[DEFAULT_SIZE];
		}
	}	
	
	void add (Cartoon hero) {
		if (hero != null) {			
		}
	}
	
	void makeToXML() {
				
	}
	
	public static void main(String[] args) {
		
		Comics comic = new Comics("The Mask");
		Cartoon hero1 = new Cartoon();
		hero1.setName("Mayloy");
		comic.add(hero1);

	}
}
